package com.huike.service;

import com.huike.po.Part;
import com.huike.pojo.FileMsg;

import java.util.List;

/**
 *  陈传聪
 */
public interface PartService {
    boolean addEmployeeToPart(int partId, int employeeId);
    boolean deleteEmployeeFromPart(int employeeId);
    List<Part> getPartList();
    List<Part> getPartListByName(String name);
    Part getPartById(int id);
    boolean addPart(int partId,String partName, int managerId, int partLevel);
    boolean deletePart(int partId);
    boolean updatePart(Part part);

}
